package com.wzweb.entity;

import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.Date;

import com.wzweb.dao.util.DBParse;

public class ScoresrulesParse implements DBParse {
	@Override
	public Scoresrules parseEntity(ResultSet rs) throws Exception {

		Scoresrules sr = new Scoresrules();
		sr.setScoresRuleID(rs.getInt("scoresRuleID"));
		sr.setCommentScores(rs.getInt("commentScores"));
		sr.setQuestionScores(rs.getInt("questionScores"));
		sr.setAnswerScores(rs.getInt("answerScores"));
		
		return sr;
	}
}
